﻿using System.Web.Mvc;

namespace Yyyg.WebUI.Controllers
{
    public class ErrorController : Controller
    {
        // GET: ErrorPage
        public ActionResult Error(int code)
        {
            switch (code)
            {
                case 404:
                    return View("Page_404");
            }
            return View("Page_404");
        }
    }
}